package com.hongxun.modules.bss.service;

import com.hongxun.modules.bss.entity.DMaterialModelItemEntity;

import java.util.List;
import java.util.Map;

/**
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-11-02 15:13:21
 */
public interface DMaterialModelItemService {

    DMaterialModelItemEntity queryObject(String guid);

    List<DMaterialModelItemEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(DMaterialModelItemEntity dMaterialModelItem);

    void update(DMaterialModelItemEntity dMaterialModelItem);

    void delete(String guid);

    void deleteBatch(String[] guids);

    void insertOrReplaceOrDelete(List<DMaterialModelItemEntity> entities);
}
